Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development
Attribute value table
The
ryc_attribute_valuetable contains these fields:
constant_value— ThisLOGICALfield is set toYESif the value cannot be modified at any lower level of object definition. Its value is thereforeYESif the attribute value is for an object type and theconstant_levelfield of the corresponding attribute isclass. Its value is alsoYESif the attribute value is for a master object and theconstant_levelfield of the corresponding attribute ismaster. This field simply allows theconstant_levelto be verified in theattribute_valuewithout having to refer back to the attribute record.attribute_label— ThisCHARACTERfield is the name of the attribute as defined in theryc_attributerecord. Note that this is the join field used to relate this table to theryc_attributetable when necessary.The
data_typefield in theryc_attributetable identifies the native data type of the attribute. Depending on that value, the actual attribute value is stored in one and only one of the following six fields; the others are unused. This allows the framework to avoid very frequent conversions back and forth to and fromCHARACTERtypes.It also avoids globalization issues that can be caused when locale-sensitive values, such as decimals (containing either a comma or decimal point) or dates (with different ways to order the month and day), are converted to
CHARACTERstrings. The types are as follows:
character_value— Attribute values of typeCHARACTERare stored in this field.integer_value— Attribute values of typeINTEGERare stored in this field.date_value— Attribute values of typeDATEare stored in this field.decimal_value— Attribute values of typeDECIMALare stored in this field.logical_value— Attribute values of typeLOGICALare stored in this field.raw_value— Attribute values of typeRAWare stored in this field.The
ryc_attribute_valuetable also contains object IDs that point to the object type of the object with this attribute value, as well as the Product Module of the object. There are also pointers that identify whether this is a class, master, or instance attribute value. These are discussed next.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |